package com.cheng.sell.form;

import lombok.Data;
import org.hibernate.validator.constraints.NotEmpty;

/**
 * @description: 订单表单
 * @author: 程新涛
 * @create: 2018-09-02 18:07
 */
@Data
public class OrderForm {

    /**
     * 买家姓名
     */
    @NotEmpty(message = "买家姓名")
    private String name;

    /**
     * 买家手机号
     */
    @NotEmpty(message = "买家手机号")
    private String phone;

    /**
     * 买家openid
     */
    @NotEmpty(message = "买家openid")
    private String openid;

    /**
     * 买家地址
     */
    @NotEmpty(message = "买家地址")
    private String address;

    /**
     * 购物车
     */
    @NotEmpty(message = "购物车")
    private String items;
}
